ACFWF\Models\Store_Credits\Admin A

Total Complexity 60
Dependencies 8
Dependents 1
Total lines 623
Lines of code 244
Logical lines of code 140
Comment lines 281
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
_apply_store_credits_to_order()
S
50 5 27
deduct_store_credit_amount_from_total_discounts_on_edit_order_page()
S
61 6 11
ajax_apply_store_credits_to_order()
S
52 5 22
display_apply_store_credits_discount_in_edit_order_page()
S
58 5 15
display_store_credits_payment_summary()
S
54 4 19
display_recalculate_button_for_old_orders_store_credits_discount()
S
61 4 13
manual_refund_via_store_credits()
S
50 3 27
_init_settings()
S
67 4 7
_create_db_table()
S
55 2 22
run()
S
57 2 16
display_store_credits_summary_in_order_preview_popup()
S
68 3 6
order_recalculate_store_credit_discounts()
S
65 3 9
get_instance()
S
70 2 6
append_store_credits_to_refund_item_name()
S
70 2 6
display_paid_in_store_credits_row()
S
66 2 8
display_store_credits_discount_on_edit_order()
S
66 2 8
set_zero_balance_for_new_registered_user()
S
70 2 6
initialize()
S
70 2 6
activate()
S
78 1 4
__construct()
S
70 1 6